package com.atguigu.edu.realtime.beans;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.util.Set;

/**
 * @Classname VideoViewerNumsBean
 * @Date 2022/11/20 17:43
 * @Created by arun
 * 视频观看人数Bean
 */
@Data
@AllArgsConstructor
@Builder
public class VideoViewerNumsBean {
    // 窗口起始时间
    String stt;
    // 窗口闭合时间
    String edt;
    // 视频ID
    String videoId;
    // 观看用户的id
    @TransientSink
    Set<String> userIdSet;
    // 观看人数
    Long nums;
    // 时间戳
    Long ts;
}
